{if test="$lego->page->hasChilds()"}
<div class="tabs_line">
	<div class='radio tabs'>
		{if test="$lego->getAction() == 'index'"}
			<a href='{$lego->uri()->remove($lego->getName())->setAct("index")->url()}' class='radio_item selected'>/</a>
		{else}
            <a hotkey='Ctrl+Up' href='{$lego->uri()->remove($lego->getName())->setAct("index")->url()}' class='radio_item'>/</a>
		{/if}
		{foreach from="$lego->page->getChilds()" item="$key=>$item"}
			{if test="$lego->getParam('child', 0) == $item->getId()"}
				<a href='?{$lego->actUri("child", $item->getId())}' class='radio_item selected'>{$item.title}</a>
			{else}
				<a hotkey="Ctrl+{$key+1}" href='?{$lego->actUri("child", $item->getId())}' class='radio_item'>{$item.title}</a>
			{/if}
		{/foreach}
	</div>
</div>
{/if}


